<?php
/**
 * @package Installer
 * @access private
 * @copyright Copyright 2003-2007 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: store_setup_default.php 7180 2007-10-05 12:24:30Z drbyte $
 */

  if ($zc_install->error) include(DIR_WS_INSTALL_TEMPLATE . 'templates/display_errors.php');
?>

  <form method="post" action="index.php?main_page=store_setup<?php echo zcInstallAddSID(); ?>">
    <fieldset>
    <legend><?php echo STORE_INFORMATION; ?></legend>
    <div class="section">
      <input type="text" id="store_name" name="store_name" tabindex="1" size="35" value="<?php echo STORE_NAME_VALUE; ?>" />
      <label for="store_name"><?php echo STORE_NAME; ?></label>
      <p><?php echo STORE_NAME_INSTRUCTION . '<a href="javascript:popupWindow(\'popup_help_screen.php?error_code=37\')"> ' . TEXT_HELP_LINK . '</a>'; ?></p>
    </div>
    <div class="section">
      <input type="text" id="store_owner" name="store_owner" tabindex="2" size="35" value="<?php echo STORE_OWNER_VALUE; ?>" />
      <label for="store_owner"><?php echo STORE_OWNER; ?></label>
      <p><?php echo STORE_OWNER_INSTRUCTION . '<a href="javascript:popupWindow(\'popup_help_screen.php?error_code=38\')"> ' . TEXT_HELP_LINK . '</a>'; ?></p>
    </div>
    <div class="section">
      <input type="text" id="store_owner_email" name="store_owner_email" tabindex="3"  size="30" value="<?php echo STORE_OWNER_EMAIL_VALUE; ?>" />
      <label for="store_owner_email"><?php echo STORE_OWNER_EMAIL; ?></label>
      <p><?php echo STORE_OWNER_EMAIL_INSTRUCTION . '<a href="javascript:popupWindow(\'popup_help_screen.php?error_code=39\')"> ' . TEXT_HELP_LINK . '</a>'; ?></p>
    </div>
    <div class="section">
      <input type="hidden" id="store-country" name="store_country" value="223" />
        <label for="store_country"><?php echo STORE_COUNTRY; ?></label>
      <p><?php echo STORE_COUNTRY_INSTRUCTION ; ?></p>
    </div>
    <div class="section">
      <select id="store_zone" name="store_zone" tabindex="5" >
<?php echo $zone_string; ?>
      </select>
        <label for="store_zone"><?php echo STORE_ZONE; ?></label>
      <p><?php echo STORE_ZONE_INSTRUCTION . '<a href="javascript:popupWindow(\'popup_help_screen.php?error_code=41\')"> ' . TEXT_HELP_LINK . '</a>'; ?></p>
    </div>
    <div class="section">
      <textarea rows="5" cols="20" id="store_address" tabindex="6" name="store_address"><?php echo STORE_ADDRESS_VALUE; ?></textarea>
      <label for="store_address"><?php echo STORE_ADDRESS; ?></label>
      <p><?php echo STORE_ADDRESS_INSTRUCTION . '<a href="javascript:popupWindow(\'popup_help_screen.php?error_code=42\')"> ' . TEXT_HELP_LINK . '</a>'; ?></p>
    </div>
    <div class="section">
      <input type="text" id="store_phone" name="store_phone" tabindex="7"  size="30" value="<?php echo STORE_PHONE_VALUE; ?>" />
      <label for="store_phone"><?php echo STORE_PHONE; ?></label>
      <p><?php echo STORE_PHONE_INSTRUCTION ; ?></p>
    </div>
    <div class="section">
      <input type="text" id="store_fax" name="store_fax" tabindex="8"  size="30" value="<?php echo STORE_FAX_VALUE; ?>" />
      <label for="store_fax"><?php echo STORE_FAX; ?></label>
      <p><?php echo STORE_FAX_INSTRUCTION ; ?></p>
    </div>
    <div class="section">
      <input type="text" id="fed_tax_id_number" name="fed_tax_id_number" tabindex="9"  size="30" value="<?php echo FED_TAX_ID_NUMBER_VALUE; ?>" />
      <label for="fed_tax_id_number"><?php echo FED_TAX_ID_NUMBER; ?></label>
      <p><?php echo FED_TAX_ID_NUMBER_INSTRUCTION ; ?></p>
    </div>
    <div class="section">
      <input type="text" id="store_registration_no" name="store_registration_no" tabindex="10"  size="30" value="<?php echo STORE_REGISTRATION_NO_VALUE; ?>" />
      <label for="store_registration_no"><?php echo STORE_REGISTRATION_NO; ?></label>
      <p><?php echo STORE_REGISTRATION_NO_INSTRUCTION ; ?></p>
    </div>
    <div class="section">
      <label for="store_registered_address"><?php echo STORE_REGISTERED_ADDRESS; ?></label>
      <p><?php echo STORE_REGISTERED_ADDRESS_INSTRUCTION ; ?></p>
      <textarea rows="2" cols="50" id="store_registered_address" tabindex="11" name="store_registered_address"><?php echo STORE_REGISTERED_ADDRESS_VALUE; ?></textarea><p>&nbsp;</p>
    </div>
    <div class="section">
      <input type="hidden" id="store_default_language" name="store_default_language" value="en" />
        <label for="store_default_language"><?php echo STORE_DEFAULT_LANGUAGE; ?></label>
      <p><?php echo STORE_DEFAULT_LANGUAGE_INSTRUCTION  ; ?></p>
    </div>

      <input type="hidden" id="store_default_currency" name="store_default_currency" value="USD" />

    </fieldset>
    <fieldset>
      <legend><?php echo DEMO_INFORMATION; ?></legend>
    <div class="section">
      <p><?php echo DEMO_INSTALL_INSTRUCTION  ; ?></p><br />
      <span class="label"><?php echo DEMO_INSTALL; ?></span>
      <div class="input">
        <input type="radio" name="demo_install" id="demo_install_yes" tabindex="12" value="true" checked />
        <label for="demo_install_yes"><?php echo YES; ?></label>
        <input type="radio" name="demo_install" id="demo_install_no" tabindex="12" value="false" />
        <label for="demo_install_no"><?php echo NO; ?></label>
      </div>
    </div>
    </fieldset>
    <input type="submit" name="submit" class="button" tabindex="15" value="<?php echo SAVE_STORE_SETTINGS; ?>" />
    <?php echo $zc_install->getConfigKeysAsPost(); ?>
  </form>